<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<script type="text/javascript">
function getMessage(num){
	if(mid==""){return;}
	if(num>0){
		if(document.getElementById('new_pm_icon')){		
			$$('#new_pm_icon').each(function(e){e.setStyle({'display':'inline'})});
		}
	}
	//if(num>0){document.getElementById("info").innerHTML = '<a href="http://i.178.com/~sms.index.index">'+num+'</a>';}else{document.getElementById("info").innerHTML = '<a href="http://i.178.com/~sms.index.index">0</a>';}
}
function getCookieValue(varname){if(varname){var a=document.cookie.indexOf(varname+"=");if(a!=-1){return document.cookie.substring((a+varname.length+1),document.cookie.length).split(";")[0];}else{return "";}}}
var mid = getCookieValue('_uid');
</script>
<title><?php
if ($this->__title) {
	echo $this->__title;
} elseif (key_exists($this->app, $_SERVER['LOCALE']['apps'])) {
	if ($_SERVER['LOCALE']['apps'][$this->app][0]) echo $_SERVER['LOCALE']['apps'][$this->app][0] . "  ";
}
?>

仨爪漫画</title>
<link rel="stylesheet" href="<?=$_SERVER['config']['style']?>/css/css.css"  type="text/css"/>
<link rel="stylesheet" href="http://www.<?=DOMAIN?>/css/style.css"  type="text/css"/>
<link rel="stylesheet" href="http://www.<?=DOMAIN?>/css/base.css" type="text/css" />
<?php include('_header.phtml');?>
<?php 
if($this->headerView) include($this->headerView);
$uid = $this->getUid();
$username = member_util_login::getMemberInfo($uid,'username');
?>
</head>
<body id="home">
<div class="topnav">
		<ul>
			<li class="selected">
				<div class="topnav-main">
                  <a href="http://www.<?=DOMAIN?>">首页<span></span><!--[if IE 7]><!--></a><!--<![endif]-->
				</div>
                <div class="sub-nav">
					<div class="sub-nav-t"></div>
					<!--[if lte IE 6]><table><tr><td><![endif]-->
					<dl>
						<dd><a href="/"><span></span>我的首页</a></dd>
						<dd><a href="http://www.<?=DOMAIN?>"><span></span>漫画首页</a></dd>
					</dl>
					<!--[if lte IE 6]></td></tr></table><![endif]-->
					<div class="sub-nav-b"></div>
				</div>
				<!--[if lte IE 6]></a><![endif]-->
			</li>
			<li>
				<div class="topnav-main">
                   <a href="/~friends.index.get_list/uid/<?=self::$login['uid']?>">好友<span></span><!--[if IE 7]><!--></a><!--<![endif]-->
				</div>
				<div class="sub-nav">
					<div class="sub-nav-t"></div>
					<!--[if lte IE 6]><table><tr><td><![endif]-->
					<dl>
						<dd><a href="<?=self::_makeURL('friends','index','get_list')?>"><span></span>我的好友</a></dd>
						<dd><a href="<?=self::_makeURL('friends','group','get_list')?>"><span></span>好友管理</a></dd>
						<dd><a href="<?=self::_makeURL('friends','invitation','invite_form')?>"><span></span>邀请好友加入</a></dd>
						<dd><a href="<?=self::_makeURL('friends','group','mutu_friends')?>"><span></span>查找好友</a></dd>
					</dl>
					<!--[if lte IE 6]></td></tr></table><![endif]-->
					<div class="sub-nav-b"></div>
				</div>
				<!--[if lte IE 6]></a><![endif]-->
			</li>
			<li>
				<div class="topnav-main">
                   <a id="sms_link" href="<?=self::_makeURL('sms','index','view_inbox')?>">
                   <img border="0" src="http://www.<?=DOMAIN?>/images/notice.gif" style="display:none" id="new_pm_icon">消息<span></span><!--[if IE 7]><!--></a><!--<![endif]-->
				</div>
				<div class="sub-nav">
					<div class="sub-nav-t"></div>
					<!--[if lte IE 6]><table><tr><td><![endif]-->
					<dl>
						<dd>
						<a href="<?=self::_makeURL('sms','index','view_inbox')?>" ><span></span>短消息<strong id="cnt_new_sms"></strong></a></dd>
						<dd><a href="<?=self::_makeURL('sms','system','view_inbox')?>"><span></span>系统通知<strong id="cnt_new_sys"></strong></a></dd>
						<dd><a href="<?=self::_makeURL('sms','index','view_send_form')?>"><span></span>写消息</a></dd>
					</dl>
					<!--[if lte IE 6]></td></tr></table><![endif]-->
					<div class="sub-nav-b"></div>
				</div>
				<!--[if lte IE 6]></a><![endif]-->
			</li>
			<?if(self::$login['uid']):?>
			<li id="topnav01"><div class="topnav-main"><a href="/?uid=<?=self::$login['uid']?>" ><?=self::$login['nickname']?></a></li>
			<li id="topnav01"><div class="topnav-main"><a href="<?=self::_makeURL('member','login','logout')?>/?to=http://i.<?=DOMAIN?>" >退出登录</a></span></div></li>
		<?else:?>
			<li id="topnav01"><div class="topnav-main"><span><a href="<?=self::_makeURL('member','login','login')?>/?to=http://<?=$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']?>" >登录</a></span></div></li>
		<?endif;?>
		</ul>

	</div>
<div class="add">
<h1><?=$username?>的个人空间</h1>
<p><a href="http://i.<?=DOMAIN?>/?uid=<?=$uid?>">http://i.<?=DOMAIN?>/?uid=<?=$uid?></a></p>
</div>

<div class="box" id="homebox">
  <dl class="h_menu">
    <li><a class="bo" href="/?uid=<?=$uid?>">首页</a></li>
    <li><a class="bo" href="<?=self::_makeURL('member','cartoon','my')?>">漫画</a></li>
    <li><a class="bo" href="<?=self::_makeURL('friends','index','get_list')?>">好友</a></li>
    <li><a class="bo" href="<?=self::_makeURL('member','comment','my_comment')?>">书评</a></li>
    <li><a class="bo" href="<?=self::_makeURL('booklist','index','mylist')?>">书单</a></li>
     <li><a class="bo" href="<?=self::_makeURL('member','index','att_list')?>">关注</a></li>
    <li><a class="bo" href="<?=self::_makeURL('sms','index','view_inbox')?>">短消息</a></li>
  </dl>
  <div class="set"><a href="<?=self::_makeURL('member','index','account')?>">个人设置</a></div>
  <div class="h_warp">
<?php
if (!$this->appFrameView) {
	include($this->rootDir . '/views/frame.phtml');
} else {
	include($this->appFrameView);
}
?>
<script type="text/javascript" src="/js/footer.js"></script>
 </div>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</body>
<script type="text/javascript" src="/js/footer.js"></script>
<div id="FlyMessages" style=""></div> 
<?php if($msg = $this->getMessage()):?>
<script>
Event.observe(window, 'load', function(event){
	FloatMessage.show('friendly','<?= $msg?>', 2);
});
</script>
<?php endif;?>
<?php if($msgs = Controller::getFloatMessage()):?>
<script>
<?php foreach($msgs as $msg):?>
Event.observe(window, 'load', function(event){
	FlyMessage.add("<?= addslashes($msg)?>", 1.2);
});
<?php endforeach;?>
</script>
<?php endif;?>
<script type='text/javascript'>
ImageLoader.bindHandlers();
Event.observe(window, 'load', adjust_content_frame);
MessageChecker.initialize();
new PeriodicalExecuter(function(pe){FlyMessage.playQueue(); pe.stop();}, 0.5);
</script>
<script src="http://i.<?=DOMAIN?>/?_app=sms&_controller=index&_action=check_new&rtype=4" type="text/javascript" charset="utf-8"></script>
</html>